Integrand size = 19, antiderivative size = 93 \[ \int \frac {\sec ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=\frac {2 \sqrt {\cos \left (a+b \log \left (c x^n\right )\right )} \operatorname {EllipticF}\left (\frac {1}{2} \left (a+b \log \left (c x^n\right )\right ),2\right ) \sqrt {\sec \left (a+b \log \left (c x^n\right )\right )}}{3 b n}+\frac {2 \sec ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right ) \sin \left (a+b \log \left (c x^n\right )\right )}{3 b n} \]
[Out]
Time = 0.06 (sec) , antiderivative size = 93, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {3853, 3856, 2720} \[ \int \frac {\sec ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=\frac {2 \sin \left (a+b \log \left (c x^n\right )\right ) \sec ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}{3 b n}+\frac {2 \sqrt {\sec \left (a+b \log \left (c x^n\right )\right )} \sqrt {\cos \left (a+b \log \left (c x^n\right )\right )} \operatorname {EllipticF}\left (\frac {1}{2} \left (a+b \log \left (c x^n\right )\right ),2\right )}{3 b n} \]
[In]
[Out]
Rule 2720
Rule 3853
Rule 3856
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \sec ^{\frac {5}{2}}(a+b x) \, dx,x,\log \left (c x^n\right )\right )}{n} \\ & = \frac {2 \sec ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right ) \sin \left (a+b \log \left (c x^n\right )\right )}{3 b n}+\frac {\text {Subst}\left (\int \sqrt {\sec (a+b x)} \, dx,x,\log \left (c x^n\right )\right )}{3 n} \\ & = \frac {2 \sec ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right ) \sin \left (a+b \log \left (c x^n\right )\right )}{3 b n}+\frac {\left (\sqrt {\cos \left (a+b \log \left (c x^n\right )\right )} \sqrt {\sec \left (a+b \log \left (c x^n\right )\right )}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {\cos (a+b x)}} \, dx,x,\log \left (c x^n\right )\right )}{3 n} \\ & = \frac {2 \sqrt {\cos \left (a+b \log \left (c x^n\right )\right )} \operatorname {EllipticF}\left (\frac {1}{2} \left (a+b \log \left (c x^n\right )\right ),2\right ) \sqrt {\sec \left (a+b \log \left (c x^n\right )\right )}}{3 b n}+\frac {2 \sec ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right ) \sin \left (a+b \log \left (c x^n\right )\right )}{3 b n} \\ \end{align*}
Time = 0.16 (sec) , antiderivative size = 69, normalized size of antiderivative = 0.74 \[ \int \frac {\sec ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=\frac {2 \sec ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right ) \left (\cos ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right ) \operatorname {EllipticF}\left (\frac {1}{2} \left (a+b \log \left (c x^n\right )\right ),2\right )+\sin \left (a+b \log \left (c x^n\right )\right )\right )}{3 b n} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(290\) vs. \(2(119)=238\).
Time = 20.80 (sec) , antiderivative size = 291, normalized size of antiderivative = 3.13
method | result | size |
derivativedivides | \(-\frac {2 \left (-2 \sqrt {\frac {1}{2}-\frac {\cos \left (a +2 b \ln \left (\sqrt {c \,x^{n}}\right )\right )}{2}}\, \sqrt {-1+2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, \operatorname {EllipticF}\left (\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ), \sqrt {2}\right ) {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}-2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2} \cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )+\sqrt {\frac {1}{2}-\frac {\cos \left (a +2 b \ln \left (\sqrt {c \,x^{n}}\right )\right )}{2}}\, \sqrt {-1+2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, \operatorname {EllipticF}\left (\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ), \sqrt {2}\right )\right ) \sqrt {\left (2 {\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}-1\right ) {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}}{3 n \sqrt {-2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{4}+{\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, {\left (2 {\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}-1\right )}^{\frac {3}{2}} \sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ) b}\) | \(291\) |
default | \(-\frac {2 \left (-2 \sqrt {\frac {1}{2}-\frac {\cos \left (a +2 b \ln \left (\sqrt {c \,x^{n}}\right )\right )}{2}}\, \sqrt {-1+2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, \operatorname {EllipticF}\left (\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ), \sqrt {2}\right ) {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}-2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2} \cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )+\sqrt {\frac {1}{2}-\frac {\cos \left (a +2 b \ln \left (\sqrt {c \,x^{n}}\right )\right )}{2}}\, \sqrt {-1+2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, \operatorname {EllipticF}\left (\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ), \sqrt {2}\right )\right ) \sqrt {\left (2 {\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}-1\right ) {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}}{3 n \sqrt {-2 {\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{4}+{\sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, {\left (2 {\cos \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}-1\right )}^{\frac {3}{2}} \sin \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ) b}\) | \(291\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.08 (sec) , antiderivative size = 145, normalized size of antiderivative = 1.56 \[ \int \frac {\sec ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=\frac {-i \, \sqrt {2} \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) {\rm weierstrassPInverse}\left (-4, 0, \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) + i \, \sin \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )\right ) + i \, \sqrt {2} \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) {\rm weierstrassPInverse}\left (-4, 0, \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) - i \, \sin \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )\right ) + \frac {2 \, \sin \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}{\sqrt {\cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}}}{3 \, b n \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )} \]
[In]
[Out]
Timed out. \[ \int \frac {\sec ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\sec ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=\int { \frac {\sec \left (b \log \left (c x^{n}\right ) + a\right )^{\frac {5}{2}}}{x} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sec ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {\sec ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=\int \frac {{\left (\frac {1}{\cos \left (a+b\,\ln \left (c\,x^n\right )\right )}\right )}^{5/2}}{x} \,d x \]
[In]
[Out]